package com.gxa.common.entity.financial_management;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class WithdrawalManagement {

  private Long transactionNo;
  private String applicant;
  private Byte accountType;
  private String accPhone;
  private String withdrawalMethod;
  private String bankCardNo;
  private String depositBank;
  private String reservePhone;
  private BigDecimal withdrawalAmount;
  private BigDecimal poundage;
  private BigDecimal paymentAmount;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8:00")
  private Date applyTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8:00")
  private Date processTime;
  private Byte status;
  private String handlerPeople;
  private String failReason;
  private String chRemark;
  private String enRemark;

  //特殊属性
  @TableField(exist = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date startTime;
  @TableField(exist = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date endTime;


}
